-
Home
-
Leat
-
2.4.10 (latest)
-
Code
-
Classes
- SpendRulesEndpoint
| Total Complexity |
44 |
| Dependencies |
12 |
| Dependents |
1 |
| Total lines |
533 |
| Lines of code |
367 |
| Logical lines of code |
123 |
| Comment lines |
99 |
| Methods |
8 |
| Properties |
5 |
Methods 8
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| register_routes() |
A |
30 |
6 |
159 |
| claim_spend_rule() |
A |
40 |
12 |
63 |
| get_rules_for_contact() |
S |
51 |
7 |
29 |
| upsert_spend_rule() |
S |
45 |
6 |
44 |
| get_spend_rules_admin() |
S |
49 |
6 |
31 |
| get_spend_rules_for_user() |
S |
49 |
5 |
31 |
| __construct() |
S |
69 |
1 |
7 |
| init() |
S |
79 |
1 |
3 |